
echo off
echo set _CP=%%_CP%%;%%1> cp.bat
set _CP=.;.\bin;
for %%i in (.\lib\*.jar) do call cp.bat %%i
set CLASSPATH=%_CP%
del cp.bat
echo %CLASSPATH%
set CLASSPATH=%CLASSPATH%;.;


set JAVA_RUN="%JAVA_HOME%\bin\java" -Dfile.encoding=GBK -Xmx1024M -Xms512M
%JAVA_RUN% -classpath %CLASSPATH% channel.TCPTest
pause;